package com.ilvyou.data.lcs;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectSrecordEntity {
    private Integer ymdayid;
    private Integer synccount;

    public CollectSrecordEntity() {
    }

    public Integer getYmdayid() {
        return this.ymdayid;
    }

    public Integer getSynccount() {
        return this.synccount;
    }

    public void setYmdayid(Integer ymdayid) {
        this.ymdayid = ymdayid;
    }

    public void setSynccount(Integer synccount) {
        this.synccount = synccount;
    }

    public boolean equals(Object o) {
        if(o == this) {
            return true;
        } else if(!(o instanceof CollectSrecordEntity)) {
            return false;
        } else {
            CollectSrecordEntity other = (CollectSrecordEntity)o;
            if(!other.canEqual(this)) {
                return false;
            } else {
                Integer this$ymdayid = this.getYmdayid();
                Integer other$ymdayid = other.getYmdayid();
                if(this$ymdayid == null) {
                    if(other$ymdayid != null) {
                        return false;
                    }
                } else if(!this$ymdayid.equals(other$ymdayid)) {
                    return false;
                }

                Integer this$synccount = this.getSynccount();
                Integer other$synccount = other.getSynccount();
                if(this$synccount == null) {
                    if(other$synccount != null) {
                        return false;
                    }
                } else if(!this$synccount.equals(other$synccount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof CollectSrecordEntity;
    }

    public int hashCode() {
        boolean PRIME = true;
        byte result = 1;
        Integer $ymdayid = this.getYmdayid();
        int result1 = result * 59 + ($ymdayid == null?43:$ymdayid.hashCode());
        Integer $synccount = this.getSynccount();
        result1 = result1 * 59 + ($synccount == null?43:$synccount.hashCode());
        return result1;
    }

    public String toString() {
        return "CollectSrecordEntity(ymdayid=" + this.getYmdayid() + ", synccount=" + this.getSynccount() + ")";
    }
}
